USE [BMIG_Mensual_POST_CADENA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_M0004_CANTIDAD_ERROR]    Script Date: 11/25/2011 11:53:30 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[WASP_M0004_CANTIDAD_ERROR]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[WASP_M0004_CANTIDAD_ERROR]
GO

USE [BMIG_Mensual_POST_CADENA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_M0004_CANTIDAD_ERROR]    Script Date: 11/25/2011 11:53:30 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO


CREATE PROCEDURE [dbo].[WASP_M0004_CANTIDAD_ERROR] 

AS
BEGIN
	SELECT 
		COUNT(*) AS CANTIDAD_ERROR 
	FROM DBO.ERROR_CUOTAS
END

GO


